package model

import "gorm.io/gorm"

type Game struct {
	gorm.Model
	Name          string `gorm:"type:varchar(20)" json:"name"`
	Downloadcount int    `gorm:"type:int;default:0" json:"downloadcount"`
	TyID          uint   `gorm:"type:int" json:"ty_id"`
	Picture       string `gorm:"type:varchar(100)" json:"picture"`
}
type Typ struct {
	gorm.Model
	Ty string `gorm:"type:varchar(20)" json:"ty"`
}
type App struct {
	gorm.Model
	Name    string `gorm:"type:varchar(20)" json:"name"`
	Picture string `gorm:"type:varchar(100)" json:"picture"`
}
